The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.
.cvsignore 11
Build.PL 22
Changes 011
MANIFEST 03
META.json 062
META.yml 65
Makefile.PL 11
README 12
SIGNATURE 1417
lib/DateTime/TimeZone/Tzfile.pm 45
t/cairo.tz --
t/construct.t 26
t/crlf.t 011
13 files changed (This is a version diff) 31126
@@ -1,4 +1,4 @@
 Build Makefile
 _build blib
-META.yml MYMETA.yml Makefile.PL SIGNATURE
+META.json META.yml MYMETA.json MYMETA.yml Makefile.PL SIGNATURE
 DateTime-TimeZone-Tzfile-*
@@ -14,7 +14,7 @@ Module::Build->new(
 		"warnings" => 0,
 	},
 	build_requires => {
-		"IO::File" => "1.03",
+		"IO::File" => "1.13",
 		"Module::Build" => 0,
 		"Test::More" => 0,
 		"perl" => "5.006",
@@ -24,7 +24,7 @@ Module::Build->new(
 	requires => {
 		"Carp" => 0,
 		"DateTime::TimeZone::SystemV" => "0.002",
-		"IO::File" => "1.03",
+		"IO::File" => "1.13",
 		"IO::Handle" => "1.08",
 		"constant" => 0,
 		"integer" => 0,
@@ -1,3 +1,11 @@
+version 0.005; 2011-04-05
+
+  * bugfix: read tzfiles in binary mode
+
+  * include META.json in distribution
+
+  * add MYMETA.json to .cvsignore
+
 version 0.004; 2010-08-31
 
   * for the Olson "Factory" timezone, which has a pseudo-abbreviation
@@ -16,6 +24,9 @@ version 0.004; 2010-08-31
     give an error message that says so, rather than conflating it with
     local time being non-existent due to an offset change
 
+  * add DateTime::TimeZone::Olson, Time::OlsonTZ::Data, and
+    Time::OlsonTZ::Download to the "see also" list
+
   * test the error message that is given when a local time does not
     exist due to an offset change
 
@@ -2,11 +2,14 @@
 Build.PL
 Changes
 MANIFEST
+META.json
 META.yml
 Makefile.PL
 README
 lib/DateTime/TimeZone/Tzfile.pm
+t/cairo.tz
 t/construct.t
+t/crlf.t
 t/ident.t
 t/local.t
 t/london.tz
@@ -0,0 +1,62 @@
+{
+   "abstract" : "tzfile (zoneinfo) timezone files",
+   "author" : [
+      "Andrew Main (Zefram) <zefram@fysh.org>"
+   ],
+   "dynamic_config" : 0,
+   "generated_by" : "Module::Build version 0.38, CPAN::Meta::Converter version 2.110580",
+   "license" : [
+      "perl_5"
+   ],
+   "meta-spec" : {
+      "url" : "http://search.cpan.org/perldoc?CPAN::Meta::Spec",
+      "version" : "2"
+   },
+   "name" : "DateTime-TimeZone-Tzfile",
+   "prereqs" : {
+      "build" : {
+         "requires" : {
+            "IO::File" : "1.13",
+            "Module::Build" : 0,
+            "Test::More" : 0,
+            "perl" : "5.006",
+            "strict" : 0,
+            "warnings" : 0
+         }
+      },
+      "configure" : {
+         "requires" : {
+            "Module::Build" : 0,
+            "perl" : "5.006",
+            "strict" : 0,
+            "warnings" : 0
+         }
+      },
+      "runtime" : {
+         "requires" : {
+            "Carp" : 0,
+            "DateTime::TimeZone::SystemV" : "0.002",
+            "IO::File" : "1.13",
+            "IO::Handle" : "1.08",
+            "constant" : 0,
+            "integer" : 0,
+            "perl" : "5.006",
+            "strict" : 0,
+            "warnings" : 0
+         }
+      }
+   },
+   "provides" : {
+      "DateTime::TimeZone::Tzfile" : {
+         "file" : "lib/DateTime/TimeZone/Tzfile.pm",
+         "version" : "0.005"
+      }
+   },
+   "release_status" : "stable",
+   "resources" : {
+      "license" : [
+         "http://dev.perl.org/licenses/"
+      ]
+   },
+   "version" : "0.005"
+}
@@ -3,7 +3,7 @@ abstract: 'tzfile (zoneinfo) timezone files'
 author:
   - 'Andrew Main (Zefram) <zefram@fysh.org>'
 build_requires:
-  IO::File: 1.03
+  IO::File: 1.13
   Module::Build: 0
   Test::More: 0
   perl: 5.006
@@ -14,9 +14,8 @@ configure_requires:
   perl: 5.006
   strict: 0
   warnings: 0
-distribution_type: module
 dynamic_config: 0
-generated_by: 'Module::Build version 0.3607'
+generated_by: 'Module::Build version 0.38, CPAN::Meta::Converter version 2.110580'
 license: perl
 meta-spec:
   url: http://module-build.sourceforge.net/META-spec-v1.4.html
@@ -25,11 +24,11 @@ name: DateTime-TimeZone-Tzfile
 provides:
   DateTime::TimeZone::Tzfile:
     file: lib/DateTime/TimeZone/Tzfile.pm
-    version: 0.004
+    version: 0.005
 requires:
   Carp: 0
   DateTime::TimeZone::SystemV: 0.002
-  IO::File: 1.03
+  IO::File: 1.13
   IO::Handle: 1.08
   constant: 0
   integer: 0
@@ -38,4 +37,4 @@ requires:
   warnings: 0
 resources:
   license: http://dev.perl.org/licenses/
-version: 0.004
+version: 0.005
@@ -1,4 +1,4 @@
-# Note: this file was auto-generated by Module::Build::Compat version 0.3607
+# Note: this file was auto-generated by Module::Build::Compat version 0.3800
 require 5.006;
 
     unless (eval "use Module::Build::Compat 0.02; 1" ) {
@@ -25,7 +25,8 @@ Andrew Main (Zefram) <zefram@fysh.org>
 
 COPYRIGHT
 
-Copyright (C) 2007, 2009, 2010 Andrew Main (Zefram) <zefram@fysh.org>
+Copyright (C) 2007, 2009, 2010, 2011
+Andrew Main (Zefram) <zefram@fysh.org>
 
 LICENSE
 
@@ -1,5 +1,5 @@
 This file contains message digests of all files listed in MANIFEST,
-signed via the Module::Signature module, version 0.64.
+signed via the Module::Signature module, version 0.66.
 
 To verify the content in this distribution, first make sure you have
 Module::Signature installed, then type:
@@ -14,15 +14,18 @@ not run its Makefile.PL or Build.PL.
 -----BEGIN PGP SIGNED MESSAGE-----
 Hash: SHA1
 
-SHA1 268ae5b05dd69a9e1a80cde5666a87e3ad1458a4 .cvsignore
-SHA1 0af64c01210b4bb66fc198298098b58beccfde76 Build.PL
-SHA1 ada82369526fc0ad0c530d338c0024b52df4a6cf Changes
-SHA1 da7bf3e6fb28ebe3cbaee538fc771462bf09d6c4 MANIFEST
-SHA1 dcf4a1ba585339285eff29040d8964274a02983d META.yml
-SHA1 caae608231ffe78390c76451ade51a7cfc87a9f9 Makefile.PL
-SHA1 201a79c95caec19155b3364f9197c35c0a613585 README
-SHA1 6c3ad7d374ab89da83c48f4c68e4f0b12dc94eaa lib/DateTime/TimeZone/Tzfile.pm
-SHA1 b37d2e89e157513b920145171dd64dae620efc47 t/construct.t
+SHA1 6e453f3b6376d5b468b21b97c7e66176c083452a .cvsignore
+SHA1 d56cbd6f5dd0ec6b360f073c5fd8da279d0fe92f Build.PL
+SHA1 fb8f54dcb7d5905c059f98811c83a4f48bcf33ef Changes
+SHA1 bba931044f5559d3086edf52ea3a8f2b0dbe3962 MANIFEST
+SHA1 ecb172a3ce87372c49c7368316dd69db0f894d35 META.json
+SHA1 3c08fc787c75e3f50b08e0496ba76b51cf05abd6 META.yml
+SHA1 a4df8e97ccd390a42212af5a9f4d0986c85e7a5f Makefile.PL
+SHA1 6ec4a53b21aceff2f46fae1f317df6fca6d3b9db README
+SHA1 87f85d4ac8b6de9f7eedad11c09a53587522ce84 lib/DateTime/TimeZone/Tzfile.pm
+SHA1 b241641219520491d65ce891195f89cb91709861 t/cairo.tz
+SHA1 8cb9c3dd69f1067d42399afc3f158628c1334ed5 t/construct.t
+SHA1 ed2775cc8e7a1711d3ab9be3be8ac48a664cf69c t/crlf.t
 SHA1 098a25eba48989e963ccfda2f64a5a52c9e825b4 t/ident.t
 SHA1 cc07f9f69851b0cf0f74c1787363d0a46927140e t/local.t
 SHA1 e203aaf15eecc56c069b59f482f8ae3655c249a9 t/london.tz
@@ -30,9 +33,9 @@ SHA1 3d0fb57dfec20242135862bcd3b93e5c10f5b8a4 t/offset.t
 SHA1 904d9a4f76525e2303e4b0c168c68230f223c8de t/pod_cvg.t
 SHA1 65c75abdef6f01a5d1588a307f2ddfe2333dc961 t/pod_syn.t
 -----BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.4.9 (GNU/Linux)
+Version: GnuPG v1.4.10 (GNU/Linux)
 
-iEYEARECAAYFAkx9ChMACgkQOV9mt2VyAVE4GwCcDfCJrndO35ncwLjJ4lae1B0k
-LZIAn30jmiHRDVkUvb4kAv/YmDjKitii
-=iwkQ
+iEYEARECAAYFAk2almIACgkQOV9mt2VyAVGuBgCZATOtkO1Lpz1aXqGO+XHuDSF6
+MmEAn2mTW8SJb0CXkXw1ronIuTaZlw+u
+=K5Px
 -----END PGP SIGNATURE-----
@@ -42,10 +42,10 @@ use warnings;
 use strict;
 
 use Carp qw(croak);
-use IO::File 1.03;
+use IO::File 1.13;
 use IO::Handle 1.08;
 
-our $VERSION = "0.004";
+our $VERSION = "0.005";
 
 # _fdiv(A, B), _fmod(A, B): divide A by B, flooring remainder
 #
@@ -204,7 +204,7 @@ sub new {
 		$self->{is_olson} = !!0;
 	}
 	if(defined $filename) {
-		$fh = IO::File->new($filename, "r")
+		($fh = IO::File->new($filename, "r")) && $fh->binmode
 			or croak "can't read $filename: $!";
 	}
 	croak "bad tzfile: wrong magic number"
@@ -541,7 +541,8 @@ Andrew Main (Zefram) <zefram@fysh.org>
 
 =head1 COPYRIGHT
 
-Copyright (C) 2007, 2009, 2010 Andrew Main (Zefram) <zefram@fysh.org>
+Copyright (C) 2007, 2009, 2010, 2011
+Andrew Main (Zefram) <zefram@fysh.org>
 
 =head1 LICENSE
 
diff --git a/var/tmp/source/ZEFRAM/DateTime-TimeZone-Tzfile-0.005/DateTime-TimeZone-Tzfile-0.005/t/cairo.tz b/var/tmp/source/ZEFRAM/DateTime-TimeZone-Tzfile-0.005/DateTime-TimeZone-Tzfile-0.005/t/cairo.tz
new file mode 100644
index 00000000..0b0f374d
Binary files /dev/null and b/var/tmp/source/ZEFRAM/DateTime-TimeZone-Tzfile-0.005/DateTime-TimeZone-Tzfile-0.005/t/cairo.tz differ
@@ -1,14 +1,18 @@
 use warnings;
 use strict;
 
-use IO::File 1.03;
+use IO::File 1.13;
 use Test::More tests => 21;
 
 require_ok "DateTime::TimeZone::Tzfile";
 
 my $tz;
 
-sub new_fh() { IO::File->new("t/london.tz") or die $! }
+sub new_fh() {
+	my $fh;
+	($fh = IO::File->new("t/london.tz")) && $fh->binmode or die $!;
+	return $fh;
+}
 
 $tz = DateTime::TimeZone::Tzfile->new("t/london.tz");
 ok $tz;
@@ -0,0 +1,11 @@
+use warnings;
+use strict;
+
+use Test::More tests => 2;
+
+require_ok "DateTime::TimeZone::Tzfile";
+
+my $tz = DateTime::TimeZone::Tzfile->new("t/cairo.tz");
+ok 1;
+
+1;